package com.example.echoewish.repository.network.service;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface CollectionService {

    @GET("collection/collect")
    Call<ResponseBody>  collectPost(@Query("postId") int postId,@Query("userId") int userId);

    @GET("collection/cancel")
    Call<ResponseBody>  cancelCollection(@Query("postId") int postId,@Query("userId") int userId);

    @GET("collection/queryIsCollect")
    Call<ResponseBody> queryIsCollect(@Query("postId") int postId,@Query("userId") int userId);
}
